package com.study.design.pattern.pattern.creational.factorymethod;

/**
 * @Author: gongsl
 * @Date: 2025-01-15 21:44
 * @description:
 */
public class Test {
    public static void main(String[] args) {
        Factory concreteFactory = new ConcreteFactory();
        concreteFactory.addProduct();

        Factory specificFactory = new SpecificFactory();
        specificFactory.addProduct();
    }
}
